from django.urls import path
from login import views

urlpatterns=[
    # path('ddlogin/', views.DingTalkLogin.as_view(), name='dingtalk_login'),
    # path('dingtalk/', views.DingTalkCallback.as_view(), name='dingtalk_callback'),
    path('dinglogin/<int:type>/', views.DingLogin.as_view(), name='dingtalk_login'),
    path('user/', views.User.as_view(), name='user'),
    path('upload/', views.upload_to_oss, name='upload_to_oss'),#上传文件到oss
    path('idcard/', views.Idcard.as_view(), name='idcard'),
    path('baiduusermes/', views.BaiduUsermes.as_view(), name='baiduusermes'),
    path('face/', views.FaceRecognitionView.as_view(), name='face'),
]